package com.xueyi.aixihu.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author lvyi
 * @date : 2022/8/16
 * @Description : 修改时回显的数据
 */
@Data
public class DtUsersSelectVo {

    private Integer id;

    private String username;

    private String avatar;

    private String email;

    private String phone;

    private Integer usertype;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expireTime;

    private String roleId;

    private String areaId;

}
